<template>
  <div id="app">
    <div v-if="$route.meta.keepAlive">
      <Header />
      <router-view class="content" />
    </div>
    <div v-else>
      <router-view class="content" />
    </div>
  </div>
</template>

<script>
import Login from './components/Login.vue'
import Header from './components/Top.vue'
export default {
  components: { Login, Header },
  name: 'App'
}
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
}
.content {
  /* max-width: 1180px; */
  margin: 0 auto;
}
</style>
